package com.permissions.dispatcher.processor.exception;

import javax.lang.model.type.TypeMirror;

/**
 * 错误类异常
 */
public class WrongClassException extends RuntimeException {
    /**
     * 错误类异常
     */
    public WrongClassException(TypeMirror typeMirror) {
        super("Class '${TypeName.get(type)}' can't be annotated with '@RuntimePermissions'");
    }
}
